
{% if site.gitalk_username %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css">
<script src="https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js"></script>

<!-- gitment 公共JS代码 start (一个网页只需插入一次) -->
<script>
    var url = "{{site.url}}{{page.url}}";

    const gitalk = new Gitalk({
        clientID: 'cf042421e29acc74b731',
        clientSecret: 'dd08e2267d46b07b88129fc4d7d3d4dc83ba2840',
        repo: 'VAssistant-Gitment',      // The repository of store comments,
        owner: 'Vove7',
        admin: ['Vove7'],
        id: url,      // Ensure uniqueness and length less than 50
        distractionFreeMode: false  // Facebook-like distraction free mode
    })

    gitalk.render('gitalk-container')
</script>
<!-- gitment 公共JS代码 start (一个网页只需插入一次) -->

{% endif %}